package com.tjhk.java.tech.proxy.cglib;

public class UserTest {
    public static void main(String[] args) {
        UserServiceCGlib serviceCGlib = new UserServiceCGlib(new UserServiceImpl());
        UserServiceImpl userService = (UserServiceImpl) serviceCGlib.getProxyInstance();
        userService.addUser();
        userService.deleteUser();
    }
}
